<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsf/core"
      xmlns:f="http://primefaces.org/ui">
    <h:head>
        <title>SIC - Sistema de Integrado de Clientes </title>
    </h:head>
    <h:body>
        <h:form>
            <h:panelGrid columns="2">
                <f:fieldset id="FieldLogin" legend="Login de Acesso ao Sistema" style="font-size: 12px;" >
                    
                    <div>
                        <h:messages id="Mensagem" globalOnly="true" errorClass="errorMessage" infoClass="sucessMessage"/>
                    </div>
                    <p>
                        <h:outputLabel for="login" value="Login    *"/><br/>
                        <h:inputText id="txtLogin" maxlength="40" required="true" requiredMessage="Informe seu login de acesso" value="#{LoginBean.login}"/><br/>
                        <h:message for="login" styleClass="message"/>
                    </p>

                    <p>
                        <h:outputLabel for="senha" value="Senha  *"/><br/>
                        <h:inputSecret id="txtSenha" maxlength="40" required="true" requiredMessage="Informe sua senha de acesso" value="#{LoginBean.senha}"/><br/>
                        <h:message for="senha" styleClass="message"/>
                    </p>    
                    <f:commandButton id="btnLogin" value="Entrar"/>
                </f:fieldset>
            </h:panelGrid>                
        </h:form>
    </h:body>
</html>

